const berton = 'http://192.168.1.182:';  //berton
const berton2 = 'http://192.168.10.149:';  //berton
const leo = 'http://192.168.1.95:';  //leo

/**
 * 配置代理
 * @type {[null,null]}
 */
const PROXY_CONFIG = [
  {
    context: [
      "/login", //登录
      "/activePool",//activePool
      "/activeRecord",//activeRecord
      "/minerItem",//minerItem
      "/myGroup",//myGroup
      "/news",//news
      "/newsContent",//newsContent
      "/newsImages",//newsImages
      "/oreRecord",//oreRecord
      "/platformAccount",//platformAccount
      "/platformLog",//platformLog
      "/starLevel",//starLevel
      "/starLevelRule",//starLevelRule
      "/starRecord",//starRecord
      "/user",//user
      "/userActive",//userActive
      "/userBankCard",//userBankCard
      "/userGroup",//userGroup
      "/userJlb",//userJlb
      "/userMiner",//userMiner
      "/userMinerWorkRecord",//userMinerWorkRecord
      "/userOre",//userOre
      "/userPurchaseMinerRecord",//userPurchaseMinerRecord
      "/userSubAccount",//userSubAccount
      "/userDeposit",//userDeposit
      "/count",//count
      "/jlbOreLog",//jlbOreLog
      "/setting",//setting
      "/platform",//platform
      "/res",    //枚举
    ],
    target: berton + '8080',   //拦截 context配置路径，经过此地址
    secure: false
  }
];

module.exports = PROXY_CONFIG;
